
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Adventure
{
    public class PlayerEntityData : FigureData
    {

        public PlayerEntityData(int entityId, int typeId) :
            base(entityId, typeId)
        {
            
        }

        public int CurrentEXP
        {
            get; set;
        }

        public int NeedEXP
        {
            get; set;
        }

        public float EXPRatio
        {
            get
            {
                return NeedEXP > 0 ? (float)CurrentEXP / NeedEXP : 0f;
            }
        }
    }
}